<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/include.jsp"%>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="<c:url value="resources/css/login.css"/>" />
<title><fmt:message key="login.page.title" /></title>
<script type="text/javascript" src="<c:url value="resources/js/login.js"/>"></script>
</head>
<body>

	<header>
		<div id="headerPanel" class="headerPanel">
			<h1 id="title">
				<fmt:message key="login.header" />
			</h1>
		</div>
	</header>

	<div id="form-login">
		<h2 class="header-login">
			<fmt:message key="login.form.title" />
		</h2>
		<form id="box-login" action="j_spring_security_check" method="POST">

			<p>
				<label class="req"> <fmt:message key="login.form.user" /></label>
				&nbsp;&nbsp; <br /> <input id="user" type="text" name="j_username" />
			</p>
			<p>
				<label class="req"> <fmt:message key="login.form.pass" /></label>
				&nbsp;&nbsp; <br /> <input id="pass" type="password"
					name="j_password" />
			</p>
			<div> <label class="error" id="login-error" style="color: red;">${error}</label></div>
			<p class="fr">
				
				<input type="submit" value="Entrar" class="loginbutton" id="login"
					name="login" />
			</p>
			<div class="clear"></div>
		</form>
	</div>
	<div id="logoENMA_UCU">
		<img src="<c:url value="/resources/images/catoEnma.png"/>">
	</div>
	<p id="version">
		<fmt:message key="version" />
	</p>

</body>
</html>